package com.slkj.dto;

import java.util.List;
import java.util.Objects;

/**
 * @author admin
 * @version 1.0.0
 * @ClassName UserRouteDTO.java
 * @Description TODO
 * @createTime 2020年03月12日 18:20:00
 */
public class UserRouteDTO {


    private String id;
    private String name;
    private String path;
    private String component;
    private String redirect;
    private Meta meta;
    private List<UserRouteDTOchildren> children;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof UserRouteDTO)) return false;
        UserRouteDTO that = (UserRouteDTO) o;
        return Objects.equals(id, that.id);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }

    public String getRedirect() {
        return redirect;
    }

    public void setRedirect(String redirect) {
        this.redirect = redirect;
    }

    public Meta getMeta() {
        return meta;
    }

    public void setMeta(Meta meta) {
        this.meta = meta;
    }

    public List<UserRouteDTOchildren> getChildren() {
        return children;
    }

    public void setChildren(List<UserRouteDTOchildren> children) {
        this.children = children;
    }
}
